package simulator.main;

import simulator.data.HttpData;
import java.util.ArrayList;
import simulator.request.RequestTest;

/**
 *
 * @author Lê
 */
public class Test {

    public static void main(String[] args) {
        String url = "http://localhost:8080/table/add-new-table.html";
        ArrayList<HttpData> parameters = new ArrayList<HttpData>();
//        parameters.add(new HttpData("type", "insert"));
//        parameters.add(new HttpData("table_id", "1"));
//        parameters.add(new HttpData("date", "2"));
//        parameters.add(new HttpData("price", "3"));
        RequestTest test = new RequestTest(url, parameters, "GET", 100);
        
        test.execute();
    }
}
